<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>border</title>
    <style>
      .c1 {
        width: 400px;
        height: 200px;
        /* border: 1px solid red; */
        /* border:5px solid red; */
        /* border:5px dotted red; */
        border: 5px dashed red;
      }
      .c2 {
        width: 400px;
        height: 200px;
        /* border-width: 30px; */
        /* 必须是实线 才能使用 边框图片 */
        border: 30px solid transparent;
        /* 30：四个角的宽度 round 指定边框中间内容的重复方式 */
        border-image: url(./border.png) 30 round;
      }
      .c3 {
        width: 400px;
        height: 200px;
        border-bottom: 30px solid red;
        border-right: 30px solid blue;
        border-left: 30px solid transparent;
        /* border-right: 30px solid transparent; */
      }
    </style>
  </head>
  <body>
    <div class="c1"></div>
    <div class="c2"></div>
    <div class="c3"></div>
  </body>
</html>
